package com.xy.gateway.service.impl;


import java.util.List;
import java.util.Map;
import java.util.Date;
import com.xy.core.util.BeanUtil;
import com.xy.common.page.Pagination;
import com.xy.core.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.xy.gateway.dao.ReqsignparaDao;
import com.xy.gateway.model.Reqsignpara;
import com.xy.gateway.service.ReqsignparaService;

@Service
@Transactional
public class ReqsignparaServiceImpl extends BaseServiceImpl<Reqsignpara> implements
		ReqsignparaService {
	private ReqsignparaDao reqsignparaDao;

	public ReqsignparaServiceImpl(ReqsignparaDao paramAppRoleDao) {
		super(paramAppRoleDao);
		this.reqsignparaDao = paramAppRoleDao;
	}

	@Override
	public boolean checkExist(String paraName, String paraValue) {
		return reqsignparaDao.checkExist("Reqsignpara", paraName, paraValue);
	}

	@Override
	public List<Reqsignpara> getReqsignpara(Map<String, Object> map) {
		return reqsignparaDao.getReqsignpara(map);
	}
	@Override
	public Pagination getReqsignparaByPage(Map<String, Object> map, int pageNo,
			int pageSize) {
		// TODO Auto-generated method stub
		return reqsignparaDao.getReqsignparaByPage(map, pageNo, pageSize);
	}
	 
   @Override
	public Reqsignpara save(Reqsignpara reqsignpara1) {return super.save(reqsignpara1);}
}